package forms

//type CategoryForm struct {
//	Name          string   `form:"name" json:"name" binding:"required,min=2,max=10"`
//	Action        string   `form:"action" json:"action" binding:"required,oneof=collect unCollect"`
//	IdentityId    int32    `form:"identity_id" json:"identity_id" binding:"required"`
//	FollowId      uint     `form:"follow_id" json:"follow_id" binding:"required"`
//	Title         string   `form:"title" json:"title" binding:"required,min=1,max=30"`
//	GoodsNumber   string   `form:"goods_number" json:"goods_number" binding:"required,min=1,max=20"`
//	Color         string   `form:"color" json:"color" binding:"required,min=1,max=5"`
//	ShoeBox       int32    `form:"shoe_box" json:"shoe_box" binding:"required,oneof=0 1"`
//	ImgList       []string `form:"img_list" json:"img_list" binding:"required,min=1"`
//	Remark        string   `form:"remark" json:"remark" binding:"required,max=100"`
//	CategoryId    int32    `form:"category_id" json:"category_id" binding:"required"`
//	Hash          string   `form:"hash" json:"hash" binding:"required,min=32,max=32"`
//	PictureFormat string   `form:"picture_format" json:"picture_format" binding:"required,fileSuffix"`
//	Mobile        string   `form:"mobile" json:"mobile" binding:"required,mobile"`
//	Type          uint     `form:"type" json:"type" binding:"required,oneof=1 2"`
//	// 状态 如果为0代表鉴定中，1代表鉴为真, 2代表鉴定为假，-1代表无法鉴定
//	Status int32 `form:"status" json:"status" binding:"required,oneof=1 2 -1"`
//}

type CategoryCreate struct {
	Name string `form:"name" json:"name" binding:"required,min=1,max=20"`
}

type CategoryDelete struct {
	ID int32 `form:"id" json:"id" binding:"required"`
}

type CategoryUpdate struct {
	Name string `form:"name" json:"name" binding:"required,min=1,max=20"`
	ID   int32  `form:"id" json:"id" binding:"required"`
}
